package com.navicoa.e_libreria.presentacion.comandos;

import com.navicoa.e_libreria.presentacion.VistaMain;
import com.vaadin.ui.MenuBar.MenuItem;

public class ComandoBasico extends Comando{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ComandoBasico(VistaMain vm) {
		super(vm);
	}

	public void menuSelected(MenuItem selectedItem) {
		lanzar(DIRECCION_PACKAGE + selectedItem.getText());
    }

}
